from time import sleep
from multiprocessing import Process, Pool
from concurrent.futures import ProcessPoolExecutor
import os
from www import WWW
from sys_check import SystemStatus

if __name__ == '__main__':
    www = WWW()
    system = SystemStatus()
    pool = Pool(processes=2)
    #still figuring out all the multiprocessing.
    # not sure if this is the best way to go about it.
    p_sys = pool.apply_async(system.run)
    p_www = pool.apply_async(www.run)
    pool.close()
    pool.join()